package luafrontend.interpreter;

import luafrontend.exceptions.LuaSemanticException;
import luafrontend.gen.ast.FunctionCallExp;
import luafrontend.gen.ast.FunctionDefExp;
import luafrontend.values.LuaFunction;
import luafrontend.values.LuaReturnValue;
import luafrontend.values.LuaTable;

public interface FunctionCallback {
	LuaReturnValue onFunction(FunctionCallExp exp) throws LuaSemanticException;
	LuaFunction makeFunction(FunctionDefExp exp) throws LuaSemanticException;
}
